<template>
  <!--mint-ui轮播图  -->
   <mt-swipe :auto="4000">
      <mt-swipe-item v-for="(item,i) in imgs" :key="i">
       <a :href="item.url">
          <img :src="item.img" alt="">
       </a>
      </mt-swipe-item>
    </mt-swipe>
</template>


<script>
export default {
  props:["imgs"]
}
</script>


<style lang = "scss" scoped >
   .mint-swipe {
    height:200px;
    overflow: hidden;
  }
  .mint-swipe-item {
    text-align: center;
  }
  .mint-swipe-item img {
    /* width:100%; */
    height:100%
  }
</style>